import { PrimaryGeneratedColumn } from "typeorm";
import { Code, CreateDate, Entity, UpdateDate } from "../utils";

/**
 * 账号关注表
 */
@Entity({
    name: 'ks_account_attention'
})
export class KsAccountAttention {
    @PrimaryGeneratedColumn()
    id: number;

    @Code({ comment: '关注人' })
    from: string;

    @Code({ comment: '被关注' })
    to: string;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}
